/*
 * $Id: CfgTaskRelationship.java,v 1.7 2009/07/29 17:22:42 oliver Exp $
 *
 * Copyright (C) 2006 General Electric Company. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of the General
 * Electric Company (GE). You shall not disclose this software and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with GE.
 *
 * GE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT. GE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE
 * AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING THIS SOFTWARE OR ITS
 * DERIVATIVES.
 */

package com.ge.healthcare.autosc.common.database.pojo;

public class CfgTaskRelationship extends AbstractCfgTaskRelationship{
	/**
	 * Eclipse generated
	 */
	private static final long serialVersionUID = 3796336206528399071L;
	public static final String TABLE_NAME = "com.ge.healthcare.autosc.common.database.pojo.CfgTaskRelationship";
	public static final String COL_PARENT_ID = "parentId";
	public static final Object COL_CHILD_ID = "childId";
	public CfgTaskRelationship(){
		super();
	}
	
	public CfgTaskRelationship(CfgTaskType parent, CfgTaskType child) {
		this.setParentId(parent.getTaskTypeId());
		this.setChildId(child.getTaskTypeId());
	}

}
